package com.rabbit.service;

/**
 * <h1>验证码业务接口</h1>
 *
 * @author zjw
 * @date 2022/1/13 9:05
 */
public interface ValidateCodeService {

    /**
     * 保存验证码到Redis(Str key=vc:deviceId value=code)
     *
     * @param deviceId 唯一ID
     * @param code 验证码
     */
    void saveImageCode(String deviceId, String code);
}
